<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">


	var a = [1,3,'5',9];
	alert(a.splice(2));
	alert(a);
	//alert(a.splice(2,1,'leo','hao','niu'));
	//alert(a)
	//alert(a.splice(2,1));
	//alert(a);
	
</script>
</body>
</html>